package com.hhkj.admin.question.model.extend;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author luowu
 * @Date 2024/7/31 涵 15:04:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionExportModel {

    public static final String FILE_NAME = "题目导出";
    public static final Integer TITLE_HEIGHT = 2700;
    public static final Integer EXCEL_NAME_FONT_HEIGHT = 20;
    public static final String TITLE_NAME = "题目导出";

    /** 是否案例题 1-是 0-否 */
    @Excel(name = "是否案例题", replace = {"否_0", "是_1"})
    private Integer caseFlag;

    /** 题目类型 single 单选题、 multiple 多选题、 judge 判断题 */
    @Excel(name = "题目类型", replace = {
            "单选题_single", "多选题_multiple", "判断题_judge", "案例题_case",
            "填空题_fillBlank", "简答题_shortAnswer"
    }, orderNum = "1", type = 1)
    private String typeCode;

    /** 题目内容 */
    @Excel(name = "题目内容", width = 60, orderNum = "2")
    private String content;

    /** 选项A */
    @Excel(name = "选项A", orderNum = "3")
    private String optionA;

    /** 选项B */
    @Excel(name = "选项B", orderNum = "4")
    private String optionB;

    /** 选项C */
    @Excel(name = "选项C", orderNum = "5")
    private String optionC;

    /** 选项D */
    @Excel(name = "选项D", orderNum = "6")
    private String optionD;

    /** 选项E */
    @Excel(name = "选项E", orderNum = "7")
    private String optionE;

    /** 题目答案["A"] */
    @Excel(name = "题目答案", orderNum = "8")
    private String answer;

    /** 题目分析 */
    @Excel(name = "解析", orderNum = "9")
    private String analysisContent;
}
